TLinkedListIterator< T > Class Template Reference

Iterator for single linked template list. More...

#include <tlist.h>

Inheritance diagram for TLinkedListIterator< T >:
Inheritance graph
[legend]

Public Member Functions

 TLinkedListIterator (const TLinkedList< T > &)
virtual bool done () const
virtual T & next ()
virtual T & previous ()
virtual T & current () const
virtual void first ()
virtual void last ()
const TLinkedList< T > & list () const
 Return list reference.

Detailed Description

template<class T>
class Steinberg::TLinkedListIterator< T >

Iterator for single linked template list.

See also:
TLinkedList

Constructor & Destructor Documentation

TLinkedListIterator ( const TLinkedList< T > &  L  )  [inline]

Member Function Documentation

bool done (  )  const [inline, virtual]

Check if end of container is reached.

Implements TIterator< T >.

T & next (  )  [inline, virtual]

Returns the current data and advances the iterator. postfix as in t = c++;.

Implements TIterator< T >.

T & previous (  )  [inline, virtual]

Returns the current data and backup. postfix as in t = c--;.

Implements TIterator< T >.

T & current (  )  const [inline, virtual]

Returns the current data.

Implements TIterator< T >.

void first (  )  [inline, virtual]

Move to first data.

Implements TIterator< T >.

void last (  )  [inline, virtual]

Move to last data.

Implements TIterator< T >.

const TLinkedList< T > & list (  )  const [inline]

Return list reference.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.